package com.lb.statck.mapper.category;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lb.statck.pojo.vo.CategoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<CategoryVo> {
    @Select("SELECT * from category")
    List<CategoryVo> getAll();
}
